<template>
  <Demo @hello="showHelloMsg" msg="你好啊" school="chenjt">
    <template v-slot:qwe>
      <span>chenjt</span>
    </template>
    <template v-slot:asd>
      <span>chenjt</span>
    </template>
  </Demo>
</template>

<script>
import {Demo} from './components/Demo'
export default {
  name: 'App',
  components: {Demo},
  setup(){
    function showHelloMsg(){
      alert(`触发了hello事件，我收到的参数是：${value}！`)
    }

    return {
      showHelloMsg
    }
  }

}
</script>


